package deyi.log;

import org.apache.log4j.Logger;

public class AppLogger {

    private static Logger logger = Logger.getLogger(AppLogger.class);

    public static void logError(Object error, Exception e){
        logger.error(error, e);
    }

    public static void logError(Object error){
        logger.error(error);
    }

    public static void logInfo(Object info, Exception e){
        logger.info(info, e);
    }

    public static void logInfo(Object info){
        logger.info(info);
    }

}
